<!--#include file="p1.asp" -->
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title></title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="dist/layuiadmin/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="dist/layuiadmin/style/admin.css" media="all">
<style>
	.layui-input {height:24px}
	.layui-container {
		width: 100%;
	}
	.layui-btn {height:32px;padding: 0 12px;line-height: 32px; }	
</style> 
<script type="text/javascript"> 
window.onload=function(){ 
var list = new Array(); 
for(var i=5;i<document.all.length;i++) 
{ 
if(document.all[i].type=="text"||document.all[i].tagName=="SELECT") 
list.push(i); 
} 

for(var i=0;i<list.length-1;i++) 
{ 
document.all[list[i]].setAttribute("nextFocusIndex",list[i+1]); 
document.all[list[i]].onkeydown=JumpToNext; 
} 
for(var i=list.length-1;i<document.all.length;i++) 
{ 
if(document.all[i].type=="button") 
{ 
document.all[list[list.length-1]].setAttribute("nextFocusIndex",i); 
document.all[list[list.length-1]].onkeydown=JumpToNext; 
break; 
} 
} 
document.all[list[0]].focus(); 
} 
function JumpToNext(){ 
if(event.keyCode==13) 
{ 
var nextFocusIndex=this.getAttribute("nextFocusIndex"); 
document.all[nextFocusIndex].focus(); 
} 
} 
</script> 
</head>
<body>
<%
dim a(20),b,c,modret,i
' echo cstr(5)
' echo isArray(a)
' c= cstr(ubound(a))
' echo c
modret=0
for i=1 to 20 
	modret = i \ 5
	a(modret)=a(modret) & cstr(i)
next 

for i=0 to 20
	echo a(i) & "<br>"
next

conn()
  ' call EditData()

%>
  <script src="dist/layuiadmin/layui/layui.js"></script>
  
  <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>  


</body>
</html>